/*
 * Copyright (c) 2021. Moses All Right Reserved
 */

package com.moses.design_patterns.command;

/**
 * @author Moses
 * @email shenhuohui@gmail.com
 * @date 2021/4/18 23:54
 */
public class RockBackCommand extends Command {

    public RockBackCommand(Excutor excutor) {
        super(excutor);
    }

    @Override
    public void excute() {
        // 让执行者进行回滚
        this.excutor.rockback();
    }
}
